package com.fowo.api.model.product;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import javax.validation.constraints.*;
import lombok.Data;

/** SPU管理 导入导出辅助模型 */
@Data
public class ProductSpuExcelPo {

  @Size(max = 500, message = "款名长度不能超过20")
  @ExcelProperty(value = "款名")
  private String spuName;

  @Size(max = 50, message = "SPU长度不能超过20")
  @ExcelProperty(value = "SPU")
  private String spu;

  @ExcelProperty(value = "分组")
  private String groupName;

  @ExcelIgnore
  @ExcelProperty(value = "分组")
  private Long group;

  @Size(max = 50, message = "型号长度不能超过20")
  @ExcelProperty(value = "型号")
  private String model;

  @Size(max = 50, message = "单位长度不能超过20")
  @ExcelProperty(value = "单位")
  private String unit;

  @Size(max = 20, message = "状态长度不能超过20")
  @ExcelProperty(value = "状态")
  private String salesStatus;

  @ExcelProperty(value = "分类")
  private String classifyName;

  @ExcelIgnore
  @ExcelProperty(value = "分类")
  private Long classify;

  @ExcelProperty(value = "品牌")
  private String brandName;

  @ExcelIgnore
  @ExcelProperty(value = "品牌")
  private Long brand;

  @ExcelProperty(value = "开发人")
  private String developerName;

  @ExcelIgnore
  @ExcelProperty(value = "开发人")
  private Long developer;

  @ExcelProperty(value = "产品负责人")
  private String principalName;

  @ExcelIgnore
  @ExcelProperty(value = "产品负责人")
  private Long principal;

  @Size(max = 50, message = "产品标签长度不能超过20")
  @ExcelProperty(value = "产品标签")
  private String label;

  @Size(max = 50, message = "信息一长度不能超过20")
  @ExcelProperty(value = "信息一")
  private String info1;

  @Size(max = 50, message = "信息二长度不能超过20")
  @ExcelProperty(value = "信息二")
  private String info2;

  @Size(max = 50, message = "电镀颜色长度不能超过20")
  @ExcelProperty(value = "电镀颜色")
  private String epColor;

  @ExcelProperty(value = "关联辅料数")
  private String accessoriesNum;

  @ExcelProperty(value = "采购员")
  private String buyerName;

  @ExcelIgnore
  @ExcelProperty(value = "采购员")
  private Long buyer;

  @ExcelProperty(value = "采购交期")
  private Integer purchasingDeliveryTime;

  @ExcelProperty(value = "采购成本")
  private java.math.BigDecimal procurementCost;
}
